Make gtk_widget_get_state_flags() avoid propagating the focused flag down the hierarchy
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 21 Jan 2011 14:19:44 +0000 (15:19 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 21 Jan 2011 14:25:29 +0000 (15:25 +0100)
commit6e553324f9081b5ca002f7e26269ee23268245fe
treee52659bf487fd39346707657bdf5f94c3d5f5bdc
parent7fabfec5333c6bf8ab40082e3c5e56f1d525650c
Make gtk_widget_get_state_flags() avoid propagating the focused flag down the hierarchy

There is only one widget supposed to have the focused flag at a given time,
so avoid propagating the state down the hierarchy, the focused flag is now
also set in _gtk_widget_set_has_focus().
gtk/gtkwidget.c